import { IToolTipItem } from "../../../../../com/mui/manager/IToolTipItem";
import { GlobalClass } from "../../../../../com/mui/core/GlobalClass";
import { ToolTipsManager } from "../../../../../com/mui/manager/ToolTipsManager";
//class BmpToolTipSp
    
    export  class BmpToolTipSp /* flash.display.Sprite */ implements IToolTipItem
    {
        

        public set imageName(arg1: string)
        {
            this._bmp = GlobalClass.getBitmap(arg1);
            this.addChild(this._bmp);
            return;
        }

        public get toolTipData()
        {
            return this._toolTipData;
        }

        public set toolTipData(arg1)
        {
            if (typeof !arg1 === "class") 
            {
                return;
            }
            if (arg1 == null || arg1 == "") 
            {
                ToolTipsManager.unregister(this);
            }
            else 
            {
                ToolTipsManager.register(this);
            }
            this._toolTipData = arg1;
            return;
        }

        /* internal */ /* var */_bmp: Object /* flash.display.Bitmap */;

        /* internal */ /* var */_toolTipData;
    }
